package request

type TmallMsfReceiveRequest struct {
	/*
	   1     */
	ShopId *string `json:"shop_id,omitempty" required:"false" `
	/*
	   1     */
	BizType *string `json:"biz_type,omitempty" required:"false" `
	/*
	   1     */
	Code *string `json:"code,omitempty" required:"false" `
}

func (s *TmallMsfReceiveRequest) SetShopId(v string) *TmallMsfReceiveRequest {
	s.ShopId = &v
	return s
}
func (s *TmallMsfReceiveRequest) SetBizType(v string) *TmallMsfReceiveRequest {
	s.BizType = &v
	return s
}
func (s *TmallMsfReceiveRequest) SetCode(v string) *TmallMsfReceiveRequest {
	s.Code = &v
	return s
}

func (req *TmallMsfReceiveRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ShopId != nil {
		paramMap["shop_id"] = *req.ShopId
	}
	if req.BizType != nil {
		paramMap["biz_type"] = *req.BizType
	}
	if req.Code != nil {
		paramMap["code"] = *req.Code
	}
	return paramMap
}

func (req *TmallMsfReceiveRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
